package org.hxyjs.service;


import org.hxyjs.dto.DTO;
import org.hxyjs.entity.Orderdetails;
import org.hxyjs.entity.Orderdetails;
import org.hxyjs.page.PageInfo;

public interface OrderdetailsService {
    /**
     * 查询全部订单详情
     * @return
     */
    public DTO<Orderdetails> getAllOrderdetailss() throws Exception;
    /**
     * 删除订单详情
     * @return
     */
    public DTO<Orderdetails> deleteOrderdetailsByOdno(String odno) throws Exception;
    /**
     * 修改订单详情
     * @return
     */
    public DTO<Orderdetails> updateOrderdetailsByOdno(Orderdetails orderdetails) throws Exception;
    /**
     * 增加订单详情
     * @return
     */
    public DTO<Orderdetails> addOrderdetails(Orderdetails orderdetails) throws Exception;
    /**
     * 分页查询管理员
     * @return
     */
    public DTO<Orderdetails> getOrderdetailsByPage(PageInfo pageInfo) throws Exception;
}
